/*!
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 *
 * Modifications Copyright OpenSearch Contributors. See
 * GitHub history for details.
 */

$ouiPanelPaddingModifiers: (
  'paddingSmall':  $ouiSizeS,
  'paddingMedium': $ouiSize,
  'paddingLarge':  $ouiSizeL
) !default;

$ouiPanelBorderRadiusModifiers: (
  'borderRadiusNone': 0,
  'borderRadiusMedium': $ouiBorderRadius,
  'borderRadiusLarge': $ouiBorderRadius * 2,
  'borderRadiusXLarge': $ouiBorderRadius * 4,
) !default;

$ouiPanelBackgroundColorModifiers: (
  'transparent': transparent,
  'plain': $ouiColorEmptyShade,
  'subdued': $ouiPageBackgroundColor,
  'accent':  tintOrShade($ouiColorAccent, 90%, 70%),
  'primary': tintOrShade($ouiColorPrimary, 90%, 70%),
  'success': tintOrShade($ouiColorSuccess, 90%, 70%),
  'warning': tintOrShade($ouiColorWarning, 90%, 70%),
  'danger':  tintOrShade($ouiColorDanger, 90%, 70%),
) !default;


/* OUI -> EUI Aliases */
$euiPanelPaddingModifiers: $ouiPanelPaddingModifiers;
$euiPanelBorderRadiusModifiers: $ouiPanelBorderRadiusModifiers;
$euiPanelBackgroundColorModifiers: $ouiPanelBackgroundColorModifiers;
/* End of Aliases */
